﻿using System;
using Microsoft.Research.Kinect.Nui;

namespace Epitech.Krisk.Kinect.Sensor
{
    public class PeopleDetectorEventArgs : EventArgs
    {
        private readonly string _message;

        public string Message
        {
            get { return _message; }
        }

        public PeopleDetectorEventArgs(SkeletonTrackingState trackingState)
        {
            switch (trackingState)
            {
                case SkeletonTrackingState.NotTracked:
                    _message = "There is nobody in front of the screen";
                    break;
                case SkeletonTrackingState.PositionOnly:
                    _message = "Cannot find joint Position";
                    break;
            }
        }
    }
}